#include<iostream>
#include<cmath>
using namespace std;

#define N 25

int main()
{
    double a;
    unsigned long i=1,t=4;
    for(; i<=N; ++t)
    {
         a=(sqrt(3*t*t-12))*t/4;
         if((double)a == (unsigned long)a)
         {
             cout<<"a="<<a<<endl;
             cout<<"for i="<<i<<" t="<<t<<endl;
             ++i;
             cout<<"Answer="<<(unsigned long)(sqrt(3*t*t-12))/2<<endl;
         }
    }
    
    
    system("pause");
    return 0;
}
